package com.ruoyi.ofld.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车主订单管理对象 car_order
 * 
 * @author zf
 * @date 2025-01-04
 */@Data
@NoArgsConstructor
@AllArgsConstructor
public class CarOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 起始地 */
    @Excel(name = "起始地")
    private String startLocaltion;

    /** 目的地 */
    @Excel(name = "目的地")
    private String endLocation;

    /** 里程数 */
    @Excel(name = "里程数")
    private String mileage;

    /** 运输类型id */
    @Excel(name = "运输类型id")
    private Integer shipId;

    /** 车主id */
    @Excel(name = "车主id")
    private Integer carerId;

    /** 车辆信息id */
    @Excel(name = "车辆信息id")
    private Integer carinfoId;

    /** $column.columnComment */
    private String del;

    private CarInfo carInfo;

    public CarInfo getCarInfo() {
        return carInfo;
    }

    public void setCarInfo(CarInfo carInfo) {
        this.carInfo = carInfo;
    }

    public ShipType getShipType() {
        return shipType;
    }

    public void setShipType(ShipType shipType) {
        this.shipType = shipType;
    }

    private ShipType shipType;


    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    private SysUser sysUser;

    private String  nickName;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    private String  shipName;

    public String getShipName() {
        return shipName;
    }

    public void setShipName(String shipName) {
        this.shipName = shipName;
    }
}
